<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    {include file="common/header"}
</head>
<body>
<!--<form action="">-->
    <!--<select name="" id="">-->
        <!--<option value="">河南</option>-->
        <!--<option value="">陕西</option>-->
        <!--<option value="">北京</option>-->
        <!--<option value="">湖北</option>-->
        <!--<option value="">新疆</option>-->
        <!--<option value="">山西</option>-->
    <!--</select>-->
    <!--<input type="text" value="选择">-->
<!--</form>-->
<div class="col-sm-4">
    <div class="ibox float-e-margins">
        <div class="ibox-title">
            <h5>收起</h5>
            <div class="ibox-tools">
                <a class="collapse-link">
                    <i class="fa fa-chevron-up"></i>
                </a>
                <a class="dropdown-toggle" data-toggle="dropdown" href="buttons.html#">
                    <i class="fa fa-wrench"></i>
                </a>
                <ul class="dropdown-menu dropdown-user">
                    <li><a href="buttons.html#">选项1</a>
                    </li>
                    <li><a href="buttons.html#">选项2</a>
                    </li>
                </ul>
                <a class="close-link">
                    <i class="fa fa-times"></i>
                </a>
            </div>
        </div>
        <div class="ibox-content">
            <div id="treeview2" class="test"></div>
        </div>
    </div>
</div>

<script src="/static/H/js/jquery.min.js?v=2.1.4"></script>
<script src="/static/H/js/bootstrap.min.js?v=3.3.6"></script>
<script src="/static/H/js/content.js?v=1.0.0"></script>
<script src="/static/H/js/plugins/treeview/bootstrap-treeview.js"></script>
<script>
    var data = "{$data}";
    data = data.replace(/&quot;/g,'"');
    console.log(data);
    $("#treeview2").treeview({
        levels:1,
        data:data
    });

</script>



</body>
</html>